package xyz.xmh.pojo.entity.image;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.databind.PropertyNamingStrategies;
import com.fasterxml.jackson.databind.annotation.JsonNaming;
import lombok.Data;

/**
 * 裁剪建议
 *
 * @author xuMingHai
 */
@Data
@JsonNaming(PropertyNamingStrategies.SnakeCaseStrategy.class)
@JsonInclude(JsonInclude.Include.NON_NULL)
public class CroppingSuggestion {

    /**
     * 纵横比
     */
    private String aspectRatio;

    /**
     * 分数
     */
    private double score;

    /**
     * 裁剪边界
     */
    private CroppingBoundary croppingBoundary;
}
